<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../jQuery/jquery-3.3.1.min.js"/>
</head>
<body>
<script type="text/javascript">
    $(() => {
        // 获取标签对象
        document.querySelector("img");
        document.querySelector(".imgClass");
        let imgObj = document.querySelector("#imgID");
        imgObj.src = "../img/11.png";
        // 获取标签对象
        $("img");
        $(".imgClass");
        let $imgObj = $("#imgID");
    })
</script>
</body>
</html>